package com.haixiaoke.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务器启动欢迎页
 */
@RestController
@RequestMapping("/index")
public class IndexController {

    @GetMapping
    public String hello() {
        return "Hello, Haixiaoke devices-open-api";
    }

}
